package com.design.designmode.struct.bridge;

/**
 * @author hxl
 * @since 2023-04-15
 */
public abstract class Product {
    private String name;
    protected Color color;

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setColor(Color color) {
        this.color = color;
    }

    public abstract void operation();
}
